const {DataTypes} =  require('sequelize');
const sequelizeObj = require('./sequelizeObj')

const roleModel = sequelizeObj.define(
    'roleInfo',
    {
        id:{
            type:DataTypes.INTEGER,
            primaryKey:true,
            autoIncrement:true
        },
        roleName:{
            type:DataTypes.STRING,
            field:'role_name'
        },
        roleLevel:{
            type:DataTypes.INTEGER,
            field:'role_level'
        }       
    }
);

module.exports = roleModel